﻿using ReactiveUI;

namespace LS.Screening.UI.Common.Mvvm
{
    public class CurrentLoginUser : ReactiveObject
    {
        long? userId;
        /// <summary>
        /// 用户ID
        /// </summary>
        public long? UserId { get => userId; set => this.RaiseAndSetIfChanged(ref userId, value); }

        string account;
        /// <summary>
        /// 用户ID
        /// </summary>
        public string Account { get => account; set => this.RaiseAndSetIfChanged(ref account, value); }

        string username;
        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserName { get => username; set => this.RaiseAndSetIfChanged(ref username, value); }

        string password;
        /// <summary>
        /// 用户ID
        /// </summary>
        public string Password { get => password; set => this.RaiseAndSetIfChanged(ref password, value); }

        string token;
        /// <summary>
        /// 令牌
        /// </summary>
        public string Token { get => token; set => this.RaiseAndSetIfChanged(ref token, value); }
    }
}
